<%-- 
    Document   : actualizar
    Created on : 03-dic-2012, 8:01:01
    Author     : DAHER
--%>

<%@page import="modelo.Materia"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <form action="MateriaServlet?tipo=4" method="post">
        <p><b>MATERIA</b></p>
        <% Materia materia=(Materia)request.getAttribute("mate"); %>
        <table>
            <tr><td><label><b>Nombre:</b></label></td>
                <td><input type="text" name="nombre_mat" value="<%=materia.getNombre() %>" /></td></tr>
            
            </table>
                <br> <tr><td><textarea name="descripcion" rows="9" cols="20">
                   <%=materia.getDescripcion() %>           
                        </textarea></td></tr></br>
        <tr><td> <input type="submit" name="Actualizar"></input></td></tr>
        <input type="hidden" name="id_materia" value="<%=materia.getId()%>" disabled="disabled" />
    </form>
    </body>
</html>
